//
//  UserMessage_findUserMessagePageTvCell.m
//  ainkjj
//
//  Created by MAX on 2020/4/27.
//  Copyright © 2020 zhiyiLiu. All rights reserved.
//

#import "UserMessage_findUserMessagePageTvCell.h"

@implementation UserMessage_findUserMessagePageTvCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.topicContentLb.contentEdgeInsets = UIEdgeInsetsMake(10, 10, 16, 16);
    [self.topicContentLb sizeToFit];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setModel:(UserMessage_findUserMessagePageData *)model{
    _model = model;
    [self.iconIv sd_setImageWithURL:[NSURL URLWithString:model.avatarUrl] placeholderImage:UIImageMake(@"mine_head_icon")];
    self.titleLb.text = model.nickName;
    self.descLb.text = model.sendTime;
    self.messageContentLb.text = model.messageContent;
    self.topicContentLb.text = model.topicContent;
    
}
@end
